<include file="Public/sui_header" />
<volist name="list" id="vo">
    <div class="card">
        <div class="card-header">
            <span class="icon icon-friends"></span> {$vo['name']}
        </div>
        <div class="card-content">
            <div class="card-content-inner">
                <div class="row">
                    <div class="col-100">
                        身份证号：{$vo['id_number']}
                        <br/> 电话：{$vo['phone']}
                        <br/>
                    </div>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <a href="{:U('Tourist/update', ['id'=>$vo['id']])}" class="button"><span class="icon icon-edit"></span> 编辑</a>
            <a href="{:U('Tourist/delete', ['id'=>$vo['id']])}" class="button button-danger"><span class="fa fa-trash"></span> 删除</a>
        </div>
    </div>
</volist>
<div class="row detail-submit">
    <if condition="$_SESSION['fromType'] eq 'Customized'">
    <div class="col-50"><a href="__MODULE__/{$_SESSION['fromType']}/buy" class="button button-big button-fill button-info close-panel">返回</a></div>
    <elseif condition="$_SESSION['fromType'] eq ''"/>
    <div class="col-50"><a href="#" class="button button-big button-fill button-info close-panel return">返回</a></div>
    <else/>
    <div class="col-50"><a href="__MODULE__/{$_SESSION['fromType']}/buy/id/{$_SESSION['fromId']}" class="button button-big button-fill button-info close-panel">返回</a></div>
    </if>
    <div class="col-50"><a href="{:U('Tourist/create')}" class="button button-big button-fill button-success close-panel">增加</a></div>
</div>
{$page}
<include file="Public/sui_footer" />
